#ifndef COMMANDLINE_H
#define COMMANDLINE_H

#include <string>
#include <iostream>

class CommandLine {
    char **m_line;
    int m_count;

    int check(std::string pattern, int beg);
    int checkAlgorithm(std::string pattern, int pos);
    void init();

    void help();
public:
    CommandLine(char **line, int count);
};

#endif // COMMANDLINE_H
